package com.wy.ssm.service.impl;

import com.wy.ssm.domain.City;
import com.wy.ssm.mapper.CityMapper;
import com.wy.ssm.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: wy
 * @Date:2019/9/4 21:01
 */
@Service
public class CityServiceImpl implements CityService {
  @Autowired
   private CityMapper cityMapper;
    @Override
    public List<City> findAll()throws Exception {
        return cityMapper.findAll();
    }
}
